home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 83 / MacAddict_083_2003-07.iso / pc / Software / Utilities / VirusBarrier X demo.dmg / VirusBarrier X Install.app / Contents / Resources / uninstallcommon.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2003-01-10  |  767b  |  34 lines

  1. #!/bin/sh
  2.  
  3. ## Kill the integod daemon
  4.  
  5. ps -axcopid,command | grep integod | awk '{ system("kill -9 "$1) }'
  6.  
  7. ## remove /Library/Intego
  8.  
  9. if [ -d /Library/Intego ]; then
  10.     rm -r /Library/Intego
  11. fi
  12.  
  13. ## remove /Library/Frameworks/EDWOInternet.framework and /Library/Frameworks/EDWOCommon.framework
  14.  
  15. if [ -d /Library/Frameworks/EDWOInternet.framework ]; then
  16.     rm -r /Library/Frameworks/EDWOInternet.framework
  17. fi
  18.  
  19. if [ -d /Library/Frameworks/EDWOCommon.framework ]; then
  20.     rm -r /Library/Frameworks/EDWOCommon.framework
  21. fi
  22.  
  23. ## remove /Library/Preferences/Intego
  24.  
  25. if [ -d /Library/Preferences/Intego ]; then
  26.     rm -r /Library/Preferences/Intego
  27. fi
  28.  
  29. ## remove /Library/Receipts/
  30.  
  31. if [ -d /Library/Receipts/CommonServices.pkg ]; then
  32.     rm -r /Library/Receipts/CommonServices.pkg
  33. fi
  34.